﻿using System;
using Kwan.Data.Mappings;
namespace BG.Data
{
    [Table("V_Order")]
    public interface IVOrder
    {
        [ID]
        [IDENTITY]
        int EntityID { get; set; }


        [Column]
        string CardNO { get; set; }
        [Column]
        DateTime CheckInDate { get; set; }//入住时间
        [Column]
        double CheckInPrice { get; set; }//订单生成时的房价
        [Column]
        double CheckInRoomPrice { get; set; }
        [Column]
        int CheckInType { get; set; }//钟点房，全天房，半天房
        [Column]
        DateTime CreatedDate { get; set; }
        [Column]
        int CustomerID { get; set; }
        [Column]
        int Days { get; set; }
        [Column]
        double Deposit { get; set; }//押金
        [Column]
        int DisCount { get; set; }//0-100
        [Column]
        double FinalRoomPrice { get; set; }//结账时的房价
        [Column]
        string Memo { get; set; }
        [Column]
        int Pid { get; set; }//关联的父订单
        [Column]
        int RoomID { get; set; }
        [Column]
        int Status { get; set; }
        [Column]
        string UserID { get; set; }

        [Column]
        string RoomNO { get; set; }
        [Column]
        int RoomStatus { get; set; }
        [Column]
        string RoomClassName { get; set; }
        [Column]
        string CreateUser { get; set; }

        [Column]
        string BillNO { get; set; }
        [Column]
        double CashPay { get; set; }
        [Column]
        double Change { get; set; }
        [Column]
        DateTime CollectDate { get; set; }
        [Column]
        double Paid { get; set; }
        [Column]
        double PosPay { get; set; }
        [Column]
        double Receivable { get; set; }
        [Column]
        int CollectStatus { get; set; }
        [Column]
        double DPCashPay { get; set; }
        [Column]
        double DPPosPay { get; set; }
        [Column]
        string CollectUser { get; set; }
    }
}